3.781 \(\int \frac {\sqrt {a+c x^4}}{x^2} \, dx\)

Optimal. Leaf size=224 \[ -\frac {\sqrt {a+c x^4}}{x}+\frac {2 \sqrt {c} x \sqrt {a+c x^4}}{\sqrt {a}+\sqrt {c} x^2}+\frac {\sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+c x^4}}-\frac {2 \sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+c x^4}} \]

[Out]

-(c*x^4+a)^(1/2)/x+2*x*c^(1/2)*(c*x^4+a)^(1/2)/(a^(1/2)+x^2*c^(1/2))-2*a^(1/4)*c^(1/4)*(cos(2*arctan(c^(1/4)*x
/a^(1/4)))^2)^(1/2)/cos(2*arctan(c^(1/4)*x/a^(1/4)))*EllipticE(sin(2*arctan(c^(1/4)*x/a^(1/4))),1/2*2^(1/2))*(
a^(1/2)+x^2*c^(1/2))*((c*x^4+a)/(a^(1/2)+x^2*c^(1/2))^2)^(1/2)/(c*x^4+a)^(1/2)+a^(1/4)*c^(1/4)*(cos(2*arctan(c
^(1/4)*x/a^(1/4)))^2)^(1/2)/cos(2*arctan(c^(1/4)*x/a^(1/4)))*EllipticF(sin(2*arctan(c^(1/4)*x/a^(1/4))),1/2*2^
(1/2))*(a^(1/2)+x^2*c^(1/2))*((c*x^4+a)/(a^(1/2)+x^2*c^(1/2))^2)^(1/2)/(c*x^4+a)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 224, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {277, 305, 220, 1196} \[ \frac {2 \sqrt {c} x \sqrt {a+c x^4}}{\sqrt {a}+\sqrt {c} x^2}-\frac {\sqrt {a+c x^4}}{x}+\frac {\sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+c x^4}}-\frac {2 \sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+c x^4}} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[a + c*x^4]/x^2,x]

[Out]

-(Sqrt[a + c*x^4]/x) + (2*Sqrt[c]*x*Sqrt[a + c*x^4])/(Sqrt[a] + Sqrt[c]*x^2) - (2*a^(1/4)*c^(1/4)*(Sqrt[a] + S
qrt[c]*x^2)*Sqrt[(a + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticE[2*ArcTan[(c^(1/4)*x)/a^(1/4)], 1/2])/Sqrt[a
+ c*x^4] + (a^(1/4)*c^(1/4)*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticF[2*Ar
cTan[(c^(1/4)*x)/a^(1/4)], 1/2])/Sqrt[a + c*x^4]

Rule 220

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[((1 + q^2*x^2)*Sqrt[(a + b*x^4)/(a*(
1 + q^2*x^2)^2)]*EllipticF[2*ArcTan[q*x], 1/2])/(2*q*Sqrt[a + b*x^4]), x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 277

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^p)/(c*(m +
1)), x] - Dist[(b*n*p)/(c^n*(m + 1)), Int[(c*x)^(m + n)*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] &&
IGtQ[n, 0] && GtQ[p, 0] && LtQ[m, -1] &&  !ILtQ[(m + n*p + n + 1)/n, 0] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 305

Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 2]}, Dist[1/q, Int[1/Sqrt[a + b*x^4], x],
 x] - Dist[1/q, Int[(1 - q*x^2)/Sqrt[a + b*x^4], x], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 1196

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, -Simp[(d*x*Sqrt[a + c
*x^4])/(a*(1 + q^2*x^2)), x] + Simp[(d*(1 + q^2*x^2)*Sqrt[(a + c*x^4)/(a*(1 + q^2*x^2)^2)]*EllipticE[2*ArcTan[
q*x], 1/2])/(q*Sqrt[a + c*x^4]), x] /; EqQ[e + d*q^2, 0]] /; FreeQ[{a, c, d, e}, x] && PosQ[c/a]

Rubi steps

\begin {align*} \int \frac {\sqrt {a+c x^4}}{x^2} \, dx &=-\frac {\sqrt {a+c x^4}}{x}+(2 c) \int \frac {x^2}{\sqrt {a+c x^4}} \, dx\\ &=-\frac {\sqrt {a+c x^4}}{x}+\left (2 \sqrt {a} \sqrt {c}\right ) \int \frac {1}{\sqrt {a+c x^4}} \, dx-\left (2 \sqrt {a} \sqrt {c}\right ) \int \frac {1-\frac {\sqrt {c} x^2}{\sqrt {a}}}{\sqrt {a+c x^4}} \, dx\\ &=-\frac {\sqrt {a+c x^4}}{x}+\frac {2 \sqrt {c} x \sqrt {a+c x^4}}{\sqrt {a}+\sqrt {c} x^2}-\frac {2 \sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+c x^4}}+\frac {\sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{\sqrt {a+c x^4}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.01, size = 49, normalized size = 0.22 \[ -\frac {\sqrt {a+c x^4} \, _2F_1\left (-\frac {1}{2},-\frac {1}{4};\frac {3}{4};-\frac {c x^4}{a}\right )}{x \sqrt {\frac {c x^4}{a}+1}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a + c*x^4]/x^2,x]

[Out]

-((Sqrt[a + c*x^4]*Hypergeometric2F1[-1/2, -1/4, 3/4, -((c*x^4)/a)])/(x*Sqrt[1 + (c*x^4)/a]))

________________________________________________________________________________________

fricas [F]  time = 1.48, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {c x^{4} + a}}{x^{2}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+a)^(1/2)/x^2,x, algorithm="fricas")

[Out]

integral(sqrt(c*x^4 + a)/x^2, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {c x^{4} + a}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+a)^(1/2)/x^2,x, algorithm="giac")

[Out]

integrate(sqrt(c*x^4 + a)/x^2, x)

________________________________________________________________________________________

maple [C]  time = 0.01, size = 112, normalized size = 0.50 \[ \frac {2 i \sqrt {-\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}+1}\, \sqrt {\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}+1}\, \left (-\EllipticE \left (\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, x , i\right )+\EllipticF \left (\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, x , i\right )\right ) \sqrt {a}\, \sqrt {c}}{\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, \sqrt {c \,x^{4}+a}}-\frac {\sqrt {c \,x^{4}+a}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^4+a)^(1/2)/x^2,x)

[Out]

-(c*x^4+a)^(1/2)/x+2*I*c^(1/2)*a^(1/2)/(I/a^(1/2)*c^(1/2))^(1/2)*(-I/a^(1/2)*c^(1/2)*x^2+1)^(1/2)*(I/a^(1/2)*c
^(1/2)*x^2+1)^(1/2)/(c*x^4+a)^(1/2)*(EllipticF((I/a^(1/2)*c^(1/2))^(1/2)*x,I)-EllipticE((I/a^(1/2)*c^(1/2))^(1
/2)*x,I))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {c x^{4} + a}}{x^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+a)^(1/2)/x^2,x, algorithm="maxima")

[Out]

integrate(sqrt(c*x^4 + a)/x^2, x)

________________________________________________________________________________________

mupad [B]  time = 1.28, size = 39, normalized size = 0.17 \[ \frac {\sqrt {c\,x^4+a}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{2},-\frac {1}{4};\ \frac {3}{4};\ -\frac {a}{c\,x^4}\right )}{x\,\sqrt {\frac {a}{c\,x^4}+1}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + c*x^4)^(1/2)/x^2,x)

[Out]

((a + c*x^4)^(1/2)*hypergeom([-1/2, -1/4], 3/4, -a/(c*x^4)))/(x*(a/(c*x^4) + 1)^(1/2))

________________________________________________________________________________________

sympy [C]  time = 1.44, size = 41, normalized size = 0.18 \[ \frac {\sqrt {a} \Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, - \frac {1}{4} \\ \frac {3}{4} \end {matrix}\middle | {\frac {c x^{4} e^{i \pi }}{a}} \right )}}{4 x \Gamma \left (\frac {3}{4}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**4+a)**(1/2)/x**2,x)

[Out]

sqrt(a)*gamma(-1/4)*hyper((-1/2, -1/4), (3/4,), c*x**4*exp_polar(I*pi)/a)/(4*x*gamma(3/4))

________________________________________________________________________________________